package com.github.postsanf.yinian.view;

import java.util.Comparator;
import android.annotation.SuppressLint;
import android.view.View;

public class SortComparator implements Comparator<View>{
	
	@SuppressLint("NewApi")
	@Override
	public int compare(View lhs, View rhs) {
		int result = 0;
		result = (int)(1000 * lhs.getScaleX() - 1000 * rhs.getScaleX());
		return result;
	}

}
